package edu.its.dreamteam.daf.dao.ibatis;

import java.sql.SQLException;

import edu.its.dreamteam.daf.beans.BaseBean;
import edu.its.dreamteam.daf.beans.Team;
import edu.its.dreamteam.daf.dao.ITeamDao;
import edu.its.dreamteam.daf.dao.ibatis.BaseDaoImpl;

public class TeamDaoImpl extends BaseDaoImpl implements ITeamDao {

	@Override
	protected String getNamespace() {
		return "Team";
	}

	public Team getMaxPointRoom(String id_room) {
		try {
			return (Team) getSqlMapClientTemplate().queryForObject(getNamespace()+".getMaxPointRoom", id_room);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;
	}

}
